<div class="secSearch">
	<input type="hidden" name="pcancel" id="pcancel" value="0" />
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tbody>
            <tr>
                <td width="20%">
                    <label for="key">Từ khóa:</label>
                    <input type="text" name="key" id="key" value="{if isset($smarty.session.cmtepost)}{$smarty.session.cmtepost.key|escape}{/if}" maxlength="50"/>
                </td>                
                <td width="20%">
                    <label for="startdate">Ngày đăng:</label>
                    <input type="text" name="startdate" id="startdate" value="{if isset($smarty.session.cmtepost)}{$smarty.session.cmtepost.startdate|escape}{/if}" class="half firstItem"/>
                    <input type="text" name="enddate" id="enddate" value="{if isset($smarty.session.cmtepost)}{$smarty.session.cmtepost.enddate|escape}{/if}" class="half"/>
                </td>  
                <td>
                    <label>&nbsp;</label>
                    <input type="submit" value="Tìm kiếm" class="btn"/>
                    {if isset($smarty.session.cmtecancel) && $smarty.session.cmtecancel == 1}                
                        <input type="button" value="Thôi tìm kiếm" class="btnCancel" onclick="javascript:cancelSearch(this.form);"/>
                    {/if}
                </td>      
            </tr> 
        </tbody>
    </table>
</div>